import { Component, Vue, Prop } from 'vue-property-decorator';
import '../../filter/format-json-string/format-json-string';

@Component({
  components: {}
})
export default class InterfaceDetail extends Vue {
  private title: string = 'Header';

  @Prop()
  private detail: any;

  get mockData() {
    if (this.detail && this.detail.mock) {
      return this.detail.mock.mockData;
    }
    return '';
  }

  private created() {}
}
